.TH "Tools::JsonHelper" 3 "Sun Apr 10 2011" "Version 1.0" "1101" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Tools::JsonHelper \- 
.PP
JsonHelper类  

.SH SYNOPSIS
.br
.PP
.SS "静态公有成员"

.in +1c
.ti -1c
.RI "static string \fBListToJson< T >\fP (IList< T > list, string jsonName)"
.br
.RI "\fIList转成json. \fP"
.ti -1c
.RI "static string \fBListToJson< T >\fP (IList< T > list)"
.br
.RI "\fIList转成json. \fP"
.ti -1c
.RI "static string \fBToJson\fP (object jsonObject)"
.br
.RI "\fI对象[dui xiang]转换[zhuan huan]为Json字符[zi fu]串[zi fu chuan] \fP"
.ti -1c
.RI "static string \fBToJson\fP (IEnumerable array)"
.br
.RI "\fI对象[dui xiang]集合转换[zhuan huan]\fBJson\fP \fP"
.ti -1c
.RI "static string \fBToJson\fP (DataTable dt)"
.br
.RI "\fIDatatable转换[zhuan huan]为Json. \fP"
.ti -1c
.RI "static string \fBToJson\fP (DataTable dt, string jsonName)"
.br
.RI "\fIDataTable转成Json. \fP"
.ti -1c
.RI "static string \fBToJsonEasyUi\fP (DataTable dt, string jsonName)"
.br
.RI "\fIDataTable转成Json. \fP"
.ti -1c
.RI "static string \fBToJson\fP (DbDataReader dataReader)"
.br
.RI "\fIDataReader转换[zhuan huan]为Json. \fP"
.ti -1c
.RI "static string \fBToJson\fP (DataSet dataSet)"
.br
.RI "\fIDataSet转换[zhuan huan]为Json. \fP"
.ti -1c
.RI "static string \fBToArrayString\fP (IEnumerable array)"
.br
.RI "\fI普通集合转换[zhuan huan]\fBJson\fP \fP"
.in -1c
.SH "详细描述"
.PP 
JsonHelper类 


.SH "成员函数文档"
.PP 
.SS "static string Tools.JsonHelper.ListToJson< T > (IList< T > list, string jsonName)\fC [static]\fP"
.PP
List转成json. \fBTemplate Parameters:\fP
.RS 4
\fIT\fP 
.RE
.PP
\fB参数:\fP
.RS 4
\fIjsonName\fP 
.br
\fIlist\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static string Tools.JsonHelper.ListToJson< T > (IList< T > list)\fC [static]\fP"
.PP
List转成json. \fBTemplate Parameters:\fP
.RS 4
\fIT\fP 
.RE
.PP
\fB参数:\fP
.RS 4
\fIlist\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static string Tools.JsonHelper.ToArrayString (IEnumerable array)\fC [static]\fP"
.PP
普通集合转换[zhuan huan]\fBJson\fP \fB参数:\fP
.RS 4
\fIarray\fP 集合对象[dui xiang]
.RE
.PP
\fB返回:\fP
.RS 4
Json字符[zi fu]串[zi fu chuan]
.RE
.PP

.SS "static string Tools.JsonHelper.ToJson (DbDataReader dataReader)\fC [static]\fP"
.PP
DataReader转换[zhuan huan]为Json. \fB参数:\fP
.RS 4
\fIdataReader\fP DataReader对象[dui xiang]
.RE
.PP
\fB返回:\fP
.RS 4
Json字符[zi fu]串[zi fu chuan]
.RE
.PP

.SS "static string Tools.JsonHelper.ToJson (DataSet dataSet)\fC [static]\fP"
.PP
DataSet转换[zhuan huan]为Json. \fB参数:\fP
.RS 4
\fIdataSet\fP DataSet对象[dui xiang]
.RE
.PP
\fB返回:\fP
.RS 4
Json字符[zi fu]串[zi fu chuan]
.RE
.PP

.SS "static string Tools.JsonHelper.ToJson (DataTable dt, string jsonName)\fC [static]\fP"
.PP
DataTable转成Json. \fB参数:\fP
.RS 4
\fIjsonName\fP 
.br
\fIdt\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static string Tools.JsonHelper.ToJson (DataTable dt)\fC [static]\fP"
.PP
Datatable转换[zhuan huan]为Json. \fB参数:\fP
.RS 4
\fItable\fP Datatable对象[dui xiang]
.RE
.PP
\fB返回:\fP
.RS 4
Json字符[zi fu]串[zi fu chuan]
.RE
.PP

.SS "static string Tools.JsonHelper.ToJson (IEnumerable array)\fC [static]\fP"
.PP
对象[dui xiang]集合转换[zhuan huan]\fBJson\fP \fB参数:\fP
.RS 4
\fIarray\fP 集合对象[dui xiang]
.RE
.PP
\fB返回:\fP
.RS 4
Json字符[zi fu]串[zi fu chuan]
.RE
.PP

.SS "static string Tools.JsonHelper.ToJson (object jsonObject)\fC [static]\fP"
.PP
对象[dui xiang]转换[zhuan huan]为Json字符[zi fu]串[zi fu chuan] \fB参数:\fP
.RS 4
\fIjsonObject\fP 对象[dui xiang]
.RE
.PP
\fB返回:\fP
.RS 4
Json字符[zi fu]串[zi fu chuan]
.RE
.PP

.SS "static string Tools.JsonHelper.ToJsonEasyUi (DataTable dt, string jsonName)\fC [static]\fP"
.PP
DataTable转成Json. \fB参数:\fP
.RS 4
\fIjsonName\fP 
.br
\fIdt\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP


.SH "作者"
.PP 
为1101，由Doyxgen通过分析源代码自动生成。
